/**
 * @author Isabella Nake (isabella.nake@usi.ch)
 * @author Nicolas Lusa (lusan@usi.ch)
 */
package ch.usi.inf.pf2.circuit;

import java.awt.Graphics;
import java.io.Serializable;

public abstract class Component implements Serializable{
	
	public abstract Wire[] getWires();
	private static final long serialVersionUID = 5011187187283775680L;

	public abstract int getOriginX();
    public abstract int getOriginY();
    public abstract void draw(Graphics g);
    public abstract boolean contains(int x, int y); 
    public abstract void move(int deltaX, int deltaY);
    public abstract String getColor(); 
    
}
	

